\hypertarget{class_vision_1_1_face_detector}{
\section{Vision::FaceDetector Class Reference}
\label{class_vision_1_1_face_detector}\index{Vision::FaceDetector@{Vision::FaceDetector}}
}
Inheritance diagram for Vision::FaceDetector::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_vision_1_1_face_detector}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vision_1_1_face_detector_a2695dd3b3b6a05153bef2f91b907d32d}{
{\bfseries FaceDetector} (const char $\ast$haarFrontalFileName, const char $\ast$haarProfileFileName)}
\label{class_vision_1_1_face_detector_a2695dd3b3b6a05153bef2f91b907d32d}

\item 
\hypertarget{class_vision_1_1_face_detector_a59fa802256cbe4d758cd1995313b5c93}{
unsigned int {\bfseries FacesDetected} () const }
\label{class_vision_1_1_face_detector_a59fa802256cbe4d758cd1995313b5c93}

\item 
\hypertarget{class_vision_1_1_face_detector_acfd2ac0e6f044cddcc8ee89a958e503b}{
bool \hyperlink{class_vision_1_1_face_detector_acfd2ac0e6f044cddcc8ee89a958e503b}{UsingSIFT} () const }
\label{class_vision_1_1_face_detector_acfd2ac0e6f044cddcc8ee89a958e503b}

\begin{DoxyCompactList}\small\item\em Returns the number of faces detected. \item\end{DoxyCompactList}\item 
void \hyperlink{class_vision_1_1_face_detector_adef3114dda1e3a6c147cf0ef23aafc1a}{keyPressed} (int key)
\begin{DoxyCompactList}\small\item\em Returns true when SIFT \hyperlink{structfeature}{feature} extraction is being used. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vision_1_1_face_detector_ae99cd064cb24ab5b66041d797a56c80f}{
void \hyperlink{class_vision_1_1_face_detector_ae99cd064cb24ab5b66041d797a56c80f}{Init} ()}
\label{class_vision_1_1_face_detector_ae99cd064cb24ab5b66041d797a56c80f}

\begin{DoxyCompactList}\small\item\em Initializes detector object. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vision_1_1_face_detector_a3b396f0f2b51ff1ac7247d3624ea2b09}{
std::vector$<$ CvHaarClassifierCascade $\ast$ $>$ \hyperlink{class_vision_1_1_face_detector_a3b396f0f2b51ff1ac7247d3624ea2b09}{pCascadesTable}}
\label{class_vision_1_1_face_detector_a3b396f0f2b51ff1ac7247d3624ea2b09}

\begin{DoxyCompactList}\small\item\em Vector of the training cascades to apply to image. \item\end{DoxyCompactList}\item 
\hypertarget{class_vision_1_1_face_detector_a223425347434b61740d3e1112ca14b27}{
std::vector$<$ const char $\ast$ $>$ \hyperlink{class_vision_1_1_face_detector_a223425347434b61740d3e1112ca14b27}{pCascadeFiles}}
\label{class_vision_1_1_face_detector_a223425347434b61740d3e1112ca14b27}

\begin{DoxyCompactList}\small\item\em Vector of file names for the training cascades. \item\end{DoxyCompactList}\item 
\hypertarget{class_vision_1_1_face_detector_ac265d25ff6f0ee899622f4f1d1b82473}{
CvHaarClassifierCascade $\ast$ \hyperlink{class_vision_1_1_face_detector_ac265d25ff6f0ee899622f4f1d1b82473}{pFrontalCascade}}
\label{class_vision_1_1_face_detector_ac265d25ff6f0ee899622f4f1d1b82473}

\begin{DoxyCompactList}\small\item\em Face frontal detector. \item\end{DoxyCompactList}\item 
\hypertarget{class_vision_1_1_face_detector_a069715a3c2a54b4b1f4a3e75d9f30471}{
CvHaarClassifierCascade $\ast$ \hyperlink{class_vision_1_1_face_detector_a069715a3c2a54b4b1f4a3e75d9f30471}{pProfileCascade}}
\label{class_vision_1_1_face_detector_a069715a3c2a54b4b1f4a3e75d9f30471}

\begin{DoxyCompactList}\small\item\em Face profile detector. \item\end{DoxyCompactList}\item 
\hypertarget{class_vision_1_1_face_detector_a949585c16682ec1761039fa8599689f1}{
const char $\ast$ {\bfseries haarFrontalCascadeFileName}}
\label{class_vision_1_1_face_detector_a949585c16682ec1761039fa8599689f1}

\item 
\hypertarget{class_vision_1_1_face_detector_ac4625a0a132201c6a0d617fdf244042c}{
const char $\ast$ {\bfseries haarProfileCascadeFileName}}
\label{class_vision_1_1_face_detector_ac4625a0a132201c6a0d617fdf244042c}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_vision_1_1_face_detector_adef3114dda1e3a6c147cf0ef23aafc1a}{
\index{Vision::FaceDetector@{Vision::FaceDetector}!keyPressed@{keyPressed}}
\index{keyPressed@{keyPressed}!Vision::FaceDetector@{Vision::FaceDetector}}
\subsubsection[{keyPressed}]{\setlength{\rightskip}{0pt plus 5cm}void FaceDetector::keyPressed (int {\em key})}}
\label{class_vision_1_1_face_detector_adef3114dda1e3a6c147cf0ef23aafc1a}


Returns true when SIFT \hyperlink{structfeature}{feature} extraction is being used. Functioned called when a key is pressed.. 

Reimplemented from \hyperlink{class_vision_1_1_image_callback_a0a0fbf50c4cbc55c781eaacf269aca73}{Vision::ImageCallback}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/vision/include/modules/addons/facedetector.h\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/vision/src/modules/addons/facedetector.cpp\end{DoxyCompactItemize}
